﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BF1 RID: 3057
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonthCardRewardNotify : IMessage<MonthCardRewardNotify>, IMessage, IEquatable<MonthCardRewardNotify>, IDeepCloneable<MonthCardRewardNotify>, IBufferMessage
	{
		// Token: 0x17002697 RID: 9879
		// (get) Token: 0x060088E3 RID: 35043 RVA: 0x0016C549 File Offset: 0x0016A749
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonthCardRewardNotify> Parser
		{
			get
			{
				return MonthCardRewardNotify._parser;
			}
		}

		// Token: 0x17002698 RID: 9880
		// (get) Token: 0x060088E4 RID: 35044 RVA: 0x0016C550 File Offset: 0x0016A750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonthCardRewardNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002699 RID: 9881
		// (get) Token: 0x060088E5 RID: 35045 RVA: 0x0016C562 File Offset: 0x0016A762
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonthCardRewardNotify.Descriptor;
			}
		}

		// Token: 0x060088E6 RID: 35046 RVA: 0x0016C569 File Offset: 0x0016A769
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonthCardRewardNotify()
		{
		}

		// Token: 0x060088E7 RID: 35047 RVA: 0x0016C571 File Offset: 0x0016A771
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonthCardRewardNotify(MonthCardRewardNotify other) : this()
		{
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060088E8 RID: 35048 RVA: 0x0016C5A6 File Offset: 0x0016A7A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonthCardRewardNotify Clone()
		{
			return new MonthCardRewardNotify(this);
		}

		// Token: 0x1700269A RID: 9882
		// (get) Token: 0x060088E9 RID: 35049 RVA: 0x0016C5AE File Offset: 0x0016A7AE
		// (set) Token: 0x060088EA RID: 35050 RVA: 0x0016C5B6 File Offset: 0x0016A7B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x060088EB RID: 35051 RVA: 0x0016C5BF File Offset: 0x0016A7BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonthCardRewardNotify);
		}

		// Token: 0x060088EC RID: 35052 RVA: 0x0016C5CD File Offset: 0x0016A7CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonthCardRewardNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Reward, other.Reward) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060088ED RID: 35053 RVA: 0x0016C600 File Offset: 0x0016A800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060088EE RID: 35054 RVA: 0x0016C63C File Offset: 0x0016A83C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060088EF RID: 35055 RVA: 0x0016C644 File Offset: 0x0016A844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060088F0 RID: 35056 RVA: 0x0016C64D File Offset: 0x0016A84D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.reward_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.Reward);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060088F1 RID: 35057 RVA: 0x0016C680 File Offset: 0x0016A880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060088F2 RID: 35058 RVA: 0x0016C6C0 File Offset: 0x0016A8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonthCardRewardNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060088F3 RID: 35059 RVA: 0x0016C714 File Offset: 0x0016A914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060088F4 RID: 35060 RVA: 0x0016C720 File Offset: 0x0016A920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.reward_ == null)
					{
						this.Reward = new ItemList();
					}
					input.ReadMessage(this.Reward);
				}
			}
		}

		// Token: 0x0400343F RID: 13375
		private static readonly MessageParser<MonthCardRewardNotify> _parser = new MessageParser<MonthCardRewardNotify>(() => new MonthCardRewardNotify());

		// Token: 0x04003440 RID: 13376
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003441 RID: 13377
		public const int RewardFieldNumber = 2;

		// Token: 0x04003442 RID: 13378
		private ItemList reward_;
	}
}
